package com.ybwh.springboot2.satoken.service;

import com.gitee.fastmybatis.core.support.LambdaService;
import com.ybwh.springboot2.common.PageParam;
import com.ybwh.springboot2.common.Pagination;
import com.ybwh.springboot2.satoken.mapper.SysRoleMapper;
import com.ybwh.springboot2.satoken.model.entity.SysRole;

/**
 * <p>
 * 服务接口
 * </p>
 *
 * @author Fan Beibei
 * @version V1.0
 * @since 2025-08-03 00:54:02
 */
public interface SysRoleService extends LambdaService<SysRole, SysRoleMapper> {

    /**
     * 分页查询
     *
     * @return
     */
    Pagination<SysRole> queryByPage(PageParam<SysRole> pageParam);


//------------以上是生成代码-----------------------------------------------------------------------------------------------------------------

    Long addOrUpdate(SysRole param, Long userId);

}
